package main

import "fmt"

func getDataInterface(any interface{}) interface{} {
	return any
}

func fanxing[T any](val T) T {
	return val
}
func main() {

	var a int = 100
	getDataInterface(a)

	s := fanxing[int](a)
	fmt.Println(s)

	arr := [...]int{1, 2, 3}
	s2 := fanxing(arr)
	fmt.Println(s2)
}
